********************************************************************************
* Replication Data for                                                         *
*                                                                              *
*                Discrimination, narratives and family history:                *
*         An experiment with Jordanian host and Syrian refugee children        *
*                                                                              *
*                                                                              *
*      Kai Barron, Heike Harmgart, Steffen Huck, Sebastian O. Schneider,       * 
*                              and Matthias Sutter                             *
*                                                                              *
*                                   May 2021                                   *
********************************************************************************

* These replication files are for use with Stata; we have used Stata/IC 16.1 for Windows (and checked for use with Stata 14.2 for Windows)
* However, raw data is provided in .csv format for use with other software
* The Stata do-file "main.do" in the main folder executes all files and commands in appropriate order. 
* To make sure that the "main.do" file runs smoothly, you need the appropriate folder structure; you obtain it automatically if you select all 18 files for download in the original format, and unzip the file in a folder of your choice. 
* To execute this do-file, one of the following two steps needs to first be taken: 
a) set the working directory to the primary folder (i.e., the folder containing main.do) and comment out the path specified in line 19 and the command to change to it in line 22 of the main.do do-file, and save the file, or 
b) adjust the path specified in line 19 in "main.do" to correspond to the folder containing the primary folder of our files on your computer and save the do-file.  
Thereafter, running the main.do do-file in the Stata console reproduces all tables and figures in the paper (except for Figure 4) and generates a .log-file with all additional results mentioned in the paper
* Figure 4 can be reproduced using the website GPSvisualizer.com and the dataset named 'Jordan_UNICEF_Sample_Geolocations_Schools' provided in the folder '0_data_raw_ascii'
* The comments and file names in "main.do" provide a clear description of which files/commands produce which figures and tables; that is: the do-file main.do serves as an extension of this README file.

May 2021
The authors